package com.heima.model.comment.pojos;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 *
 * @author Jay
 */
@Data
@Document("ap_comment")
public class ApComment implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 0 - 点赞
     * 1 - 未点赞
     */
    private Integer operation;

    private Integer authorId;

    private String authorName;

    /**
     * 文章id
     */
    private Long entryId;

    /**
     * 被此条回复回复的评论id
     */
    private String channelId;

    /**
     * 0 - 评论
     * 1 - 回复
     */
    private Short type;

    private String content;

    private String image;

    private Integer likes;

    /**
     * 回复数量
     */
    private Integer reply;

    private Integer flag;

    /**
     * 精度
     */
    private Long longitude;

    /**
     * 纬度
     */
    private Long latitude;

    private String address;

    private Long ord;

    private Long createdTime;

    private Long updatedTime;

}